Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add adapter prefix to bidder specific metrics #973

Merged
merged 2 commits into from
Jan 15, 2021

Conversation

DGarbar
Copy link
Contributor

@DGarbar DGarbar commented Oct 22, 2020

AdapterMetrics.java -> AdapterTypeMetrics.java
new class is AdapterMetrics.java (corresponds .adapter.) I did this bc wanted to use explicit API.
account().adapter().adapterFor() not account().adapterFor()

account.<account-id>.<bidder-name>.request_time
account.<account-id>.<bidder-name>.bids_received
account.<account-id>.<bidder-name>.requests.(gotbids|nobid)

TO

account.<account-id>.adapter.<bidder-name>.request_time
account.<account-id>.adapter.<bidder-name>.bids_received
account.<account-id>.adapter.<bidder-name>.requests.(gotbids|nobid)

new class is AdapterMetrics.java (corresponds .adapter.) I did this bc wanted to use explicit API.
account().adapter().adapterFor() not account().adapterFor()

`account.<account-id>.<bidder-name>.request_time`
`account.<account-id>.<bidder-name>.bids_received`
`account.<account-id>.<bidder-name>.requests.(gotbids|nobid)`

TO

`account.<account-id>.adapter.<bidder-name>.request_time`
`account.<account-id>.adapter.<bidder-name>.bids_received`
`account.<account-id>.adapter.<bidder-name>.requests.(gotbids|nobid)`
@DGarbar DGarbar requested a review from schernysh October 22, 2020 12:59
schernysh
schernysh previously approved these changes Oct 27, 2020
# Conflicts:
#	docs/metrics.md
#	src/main/java/org/prebid/server/metric/AdapterMetrics.java
#	src/test/java/org/prebid/server/metric/MetricsTest.java
@rpanchyk rpanchyk merged commit 06cd27e into master Jan 15, 2021
@rpanchyk rpanchyk deleted the metric-bidder-prefix-add branch January 15, 2021 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants